cmake_minimum_required (VERSION 2.6)
# 在项目中使用VERSION关键字时
if(POLICY CMP0048)
  cmake_policy(SET CMP0048 NEW)
endif()

project (Tutorial VERSION 1.0)

# 指定c++版本号
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

configure_file(TutorialConfig.h.in TutorialConfig.h)

add_executable (Tutorial tutorial.cpp)

target_include_directories(Tutorial PUBLIC
							"${PROJECT_BINARY_DIR}"
							)